package com.paper.tiger.easy.rpc.center.config;

/**
 * [简要描述]:
 * [详细描述]:
 *
 * @author ZouHaiBo
 * @version 1.0, 2021/6/16 15:26
 * @since JDK 1.8
 */
public class NettyConfig
{

    private int bossThreadNum;

    private int workerThreadNum;

    private int registyPort;

    /**
     * 心跳机制,客户端间隔10内秒必须向服务器发送一个心跳包
     */
    private int ideReadTimeOut;

    public int getBossThreadNum()
    {
        return bossThreadNum;
    }

    public void setBossThreadNum(int bossThreadNum)
    {
        this.bossThreadNum = bossThreadNum;
    }

    public int getWorkerThreadNum()
    {
        return workerThreadNum;
    }

    public void setWorkerThreadNum(int workerThreadNum)
    {
        this.workerThreadNum = workerThreadNum;
    }

    public int getRegistyPort()
    {
        return registyPort;
    }

    public void setRegistyPort(int registyPort)
    {
        this.registyPort = registyPort;
    }

    public int getIdeReadTimeOut()
    {
        return ideReadTimeOut;
    }

    public void setIdeReadTimeOut(int ideReadTimeOut)
    {
        this.ideReadTimeOut = ideReadTimeOut;
    }
}
